package com.tastespot.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.tastespot.model.dto.Result;
import com.tastespot.model.entity.VoucherOrder;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 虎哥
 * @since 2021-12-22
 */
public interface IVoucherOrderService extends IService<VoucherOrder> {

    Result secKillVoucher(Long voucherId);

    Result createVoucherOrder(long voucherId, long id);
}
